//
//  MKUICollectionViewWaterFlowLayoutTitleSupplementarySectionModel.h
//  MKUI
//
//  Created by 苏尚进 on 2023/3/1.
//  Copyright © 2023 moon. All rights reserved.
//

#import "MKUICollectionViewWaterFlowLayout.h"
#import "MKUICollectionViewTitleSupplementarySectionModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol MKUICollectionViewWaterFlowLayoutLastLineItemSupplementaryProtocol <MKUICollectionViewSupplementaryElementProtocol>

@optional
+ (nullable MKUICollectionViewWaterFlowLayoutLastLineItemOption *)referenceOptionForLastLineItemWithCollectionView:(UICollectionView *)collectionView collectionSectionModel:(__kindof MKUICollectionViewSectionModel *)sectionModel forKind:(NSString *)kind;
@end

@interface MKUICollectionViewWaterFlowLayoutTitleSupplementarySectionModel : MKUICollectionViewTitleSupplementarySectionModel
@property(nonatomic,strong,nullable) MKUICollectionViewWaterFlowLayoutLastLineItemOption *lastLineItemReferenceOption;//分组最后一行末尾视图配置，默认为nil
@property(nonatomic,assign) Class lastLineItemCellClass;
@end

NS_ASSUME_NONNULL_END
